<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>02_文本间距</title>
    <style>
        .atguigu {
            /* 字母间距 */
            letter-spacing: 20px;
        }

        .atguigu2 {
            /* 单词间距  依照空格来判断*/
            word-spacing: 20px;
        }

    </style>
</head>
<body>
    <div>If you have a dream, you must defend it，尚硅谷1</div>
    <div class="atguigu">If you have a dream, you must defend it，尚硅谷2</div>
    <div class="atguigu2">If you have a dream, you must defend it，尚硅谷3</div>
</body>
</html>